package com.example.spring.boot.spring.context;

public class CalledContext {
    String className;
    String method;
    Object [] args;
    Object result;
    Exception exception;

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public Object[] getArgs() {
        return args;
    }

    public void setArgs(Object[] args) {
        this.args = args;
    }

    public Object getResult() {
        return result;
    }

    public void setResult(Object result) {
        this.result = result;
    }

    public Exception getException() {
        return exception;
    }

    public void setException(Exception exception) {
        this.exception = exception;
    }

/*    @Override
    public String toString() {
        return "{" +
                "\"className\":\"" + className + '\"' +
                ", \"method=\":\"" + method + '\"' +
                ", \"args\":\"\"" + Arrays.toString(args) +"\""+
                ", \"result\":\"" + result +"\""+
                ", \"exception\":\"" + exception +"\""+
                '}';
    }*/
}
